package com.imesne.assistant.jdbc.exception;

import com.imesne.assistant.common.enums.IEnum;
import com.imesne.assistant.common.exception.ImesneException;

/**
 * Created by liyd on 17/4/11.
 */
public class ImesneJdbcException extends ImesneException {

    private static final long serialVersionUID = -5833705110587887140L;

    /**
     * Instantiates a new ImesneJdbcException.
     *
     * @param e the e
     */
    public ImesneJdbcException(IEnum e) {
        super(e);
    }

    public ImesneJdbcException(String message, Throwable e) {
        super(message, e);
    }

    public ImesneJdbcException(IEnum msgEnum, Throwable e) {
        super(msgEnum, e);
    }

    /**
     * Instantiates a new ImesneJdbcException.
     *
     * @param e the e
     */
    public ImesneJdbcException(Throwable e) {
        super(e);
    }

    /**
     * Constructor
     *
     * @param message the message
     */
    public ImesneJdbcException(String message) {
        super(message);
    }

    /**
     * Constructor
     *
     * @param code    the code
     * @param message the message
     */
    public ImesneJdbcException(String code, String message) {
        super(code, message);
    }


}
